﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/AgentMaster.Master"
    AutoEventWireup="true" CodeBehind="RespondToLead.aspx.cs" Inherits="whatpricemyhouse.agent.RespondToLead" %>

<%@ Register Src="~/Controller/MarketComparisonsSelector.ascx" TagName="MarketComparisonsSelector"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">

        function mouseOver1(theObj) {
            theObj.src = "../images/button/send_email-w.png";
        }
        function mouseOut1(theObj) {
            theObj.src = "../images/button/send_email.png";
        }

        function mouseOver2(theObj) {
            theObj.src = "../images/button/preview_email-w.png";
        }
        function mouseOut2(theObj) {
            theObj.src = "../images/button/preview_email.png";
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:LoginView ID="LoginView1" runat="server">
        <RoleGroups>
            <asp:RoleGroup Roles="Agent">
                <ContentTemplate>
                    <div id="RespondToLead">
                        <div class="setupTitle">
                            <asp:Label ID="Label1" runat="server" Text="Label" CssClass="largeHeaderStep">Admin Area :  </asp:Label>
                            <asp:Label ID="Label2" runat="server" Text="Label" CssClass="largeHeaderTitle">Respond To Lead</asp:Label>
                            <br />
                            <hr />
                            <br />
                            <asp:Label ID="MessageShow" runat="server" ForeColor="Red"></asp:Label>
                            <br />
                            <br />
                        </div>
                        <div class="emailHolder">
                            <div class="emailHeader">
                            </div>
                            <div class="theArea">
                                <div class="name">
                                    <asp:Label ID="nameLabel" runat="server" Text=""></asp:Label><br />
                                    <asp:TextBox ID="emailBodyTxt" runat="server" Height="248px" TextMode="MultiLine"
                                        Width="499px"></asp:TextBox><br />
                                    Signature<br />
                                    <asp:TextBox ID="signatureTxt" runat="server" Height="100px" TextMode="MultiLine"
                                        Width="499px"></asp:TextBox><br />
                                </div>
                            </div>
                            <div class="theAreadFooter">
                            </div>
                        </div>
                        <br />
                        <div class="marketComparisonsHolder">
                            <div class="marketComparisonsHeader">
                            </div>
                            <div class="theArea">
                                <div class="show1">
                                    Show 1:<br />
                                    <uc1:MarketComparisonsSelector ID="marketComparisonsSelector1" runat="server" />
                                </div>
                                <div class="show1">
                                    Show 2:<br />
                                    <uc1:MarketComparisonsSelector ID="marketComparisonsSelector2" runat="server" />
                                </div>
                                <div class="show1">
                                    Show 3:<br />
                                    <uc1:MarketComparisonsSelector ID="marketComparisonsSelector3" runat="server" />
                                </div>
                            </div>
                            <div class="theAreadFooter">
                            </div>
                        </div>
                        <br />
                        <div class="inSummaryHolder">
                            <div class="inSummaryHeader">
                            </div>
                            <div class="theArea">
                                Please give a summariesed view of comparable properties here:<br />
                                <asp:TextBox ID="summaryTxt" runat="server" Height="100px" TextMode="MultiLine" Width="499px"></asp:TextBox><br />
                            </div>
                            <div class="theAreadFooter">
                            </div>
                        </div>
                        <br />
                        <div class="leadDetail">
                            <div class="leadDetailHeader">
                            </div>
                            <div class="theArea">
                                <table>
                                    <tr>
                                        <td>
                                            Postcode:
                                        </td>
                                        <td>
                                            <asp:Label ID="PostcodeLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Address:
                                        </td>
                                        <td>
                                            <asp:Label ID="AddressLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Name:
                                        </td>
                                        <td>
                                            <asp:Label ID="BuyerNameLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Email:
                                        </td>
                                        <td>
                                            <asp:Label ID="EmailLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Phone:
                                        </td>
                                        <td>
                                            <asp:Label ID="PhoneLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Price from:
                                        </td>
                                        <td>
                                            <asp:Label ID="PriceFromLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Price to:
                                        </td>
                                        <td>
                                            <asp:Label ID="PriceToLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Property type:
                                        </td>
                                        <td>
                                            <asp:Label ID="PropertyTypeLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            When to buy:
                                        </td>
                                        <td>
                                            <asp:Label ID="WhenToBuyLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Date received:
                                        </td>
                                        <td>
                                            <asp:Label ID="DateReceivedLabel" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="theAreadFooter">
                            </div>
                        </div>
                        <br />
                        <div class="buttonHolder">
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/send_email.png"
                                OnClick="ImageButton1_Click" />
                            <%--<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/images/button/preview_email.png"
                                Target="_blank" ></asp:HyperLink>--%>
                            <asp:ImageButton ID="ImageButton2" runat="server" 
                                ImageUrl="~/images/button/preview_email.png" onclick="ImageButton2_Click" />
                        </div>
                    </div>
                </ContentTemplate>
            </asp:RoleGroup>
        </RoleGroups>
    </asp:LoginView>
</asp:Content>
